//
//  FDBrowserCell.m
//  foodash
//
//  Created by David Tolnem on 2/25/09.
//  Copyright 2009 mdw.dk. All rights reserved.
//

#import "FDBrowserCell.h"


@implementation FDBrowserCell

- (id)init
{
	NSLog(@"Init!");
	self = [super init];
	return self;
}

- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
{
	NSLog(@"Our draw with frame");
	[super drawWithFrame:cellFrame inView:controlView];
}

- (void)setCellType:(NSString *)theType
{
	type = theType;
}
- (NSSize)cellSize
{
	NSLog(@"Getting cell size: %@", type);
	if (type == @"foo" || type == NULL) {
		return NSMakeSize(100.0, 100.0);
	} else {
		return [super cellSize];
	}
}

@end
